/**
 * 
 */
package fr.kptn.musixmatchwrapper.dto;

import com.google.gson.annotations.SerializedName;

/**
 * This class represents the header part of a musiXmatch response.
 * 
 * @author Sylvain
 * 
 */
public class ResponseHeader {

	/** The status code of the response **/
	@SerializedName("status_code")
	private int mStatusCode;

	/** The time needed to execute the API call **/
	@SerializedName("execute_time")
	private double mExecuteTime;

	/** The availability of the response **/
	@SerializedName("available")
	private int mAvailable;

	/**
	 * The confidence of the response (used especially in the match track API
	 * call
	 **/
	@SerializedName("confidence")
	private double mConfidence;

	/**
	 * @return the statusCode
	 */
	public int getStatusCode() {
		return mStatusCode;
	}

	/**
	 * @param pStatusCode
	 *            the statusCode to set
	 */
	public void setStatusCode(int pStatusCode) {
		mStatusCode = pStatusCode;
	}

	/**
	 * @return the executeTime
	 */
	public double getExecuteTime() {
		return mExecuteTime;
	}

	/**
	 * @param pExecuteTime
	 *            the executeTime to set
	 */
	public void setExecuteTime(double pExecuteTime) {
		mExecuteTime = pExecuteTime;
	}

	/**
	 * @return the available
	 */
	public int getAvailable() {
		return mAvailable;
	}

	/**
	 * @param pAvailable
	 *            the available to set
	 */
	public void setAvailable(int pAvailable) {
		mAvailable = pAvailable;
	}

	/**
	 * @return the confidence
	 */
	public double getConfidence() {
		return mConfidence;
	}

	/**
	 * @param pConfidence
	 *            the confidence to set
	 */
	public void setConfidence(double pConfidence) {
		mConfidence = pConfidence;
	}
}
